package com.xhorse.lockplatform.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.xhorse.lockplatform.comm.model.BaseId;

import java.util.Date;

@JsonInclude(Include.NON_EMPTY)
public class XhModel extends BaseId{
	
    private Integer model_id;

    private Integer language_id;
    
    private String model_name;

    private Integer brand_id;

    private String md5_name;

    private String version;
    
    private Integer sort;

    private Date create_at;

    private Date update_at;

	public Integer getModel_id() {
		return model_id;
	}

	public void setModel_id(Integer model_id) {
		this.model_id = model_id;
	}

	public Integer getLanguage_id() {
		return language_id;
	}

	public void setLanguage_id(Integer language_id) {
		this.language_id = language_id;
	}

	public String getModel_name() {
		return model_name;
	}

	public void setModel_name(String model_name) {
		this.model_name = model_name;
	}

	public Integer getBrand_id() {
		return brand_id;
	}

	public void setBrand_id(Integer brand_id) {
		this.brand_id = brand_id;
	}

	public String getMd5_name() {
		return md5_name;
	}

	public void setMd5_name(String md5_name) {
		this.md5_name = md5_name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Date getCreate_at() {
		return create_at;
	}

	public void setCreate_at(Date create_at) {
		this.create_at = create_at;
	}

	public Date getUpdate_at() {
		return update_at;
	}

	public void setUpdate_at(Date update_at) {
		this.update_at = update_at;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		return "XhModel [model_id=" + model_id + ", language_id=" + language_id
				+ ", model_name=" + model_name + ", brand_id=" + brand_id
				+ ", md5_name=" + md5_name + ", version=" + version + ", sort="
				+ sort + ", create_at=" + create_at + ", update_at="
				+ update_at + "]";
	}

}